//
//  LZUserInfoPresenter.h
//  laziz_Merchant
//
//  Created by ZhaoDongBo on 2016/12/21.
//  Copyright © 2016年 XBN. All rights reserved.
//

#import "LZBasePresenter.h"

@interface LZUserInfoPresenter : LZBasePresenter

#pragma mark - 根据类型，获取验证码
- (void)userGetVerificationPhoneNum:(NSString *)phoneNum
                       andonSuccess:(PresenterCommonSuccess)success
                             onFail:(PresenterCommonFail)fail;

#pragma mark - 快捷 和 手机密码 登录
- (void)userLoginCellPhone:(NSString *)phoneNum
   andPasswordOrVerifiCode:(NSString *)passwordOrVerifiCode
              andLoginType:(NSInteger)loginType
              andonSuccess:(PresenterCommonSuccess)success
                    onFail:(PresenterCommonFail)fail;


#pragma mark - 邮箱登录
- (void)emailLoginWithEmail:(NSString *)email Password:(NSString *)password Success:(PresenterCommonSuccess)successBlock Failure:(PresenterCommonFail)failureBlock;

#pragma mark - 区号获取
- (void)getAreaCodeSuccess:(void(^)(NSArray *listArr))successBlock Failure:(PresenterCommonFail)failureBlock;

#pragma mark - 邮箱获取验证码
- (void)getVerificaitonCodeForEmail:(NSString *)email Success:(void(^)(NSString *codeStr))successBlock Failure:(PresenterCommonFail)failureBlock;

#pragma mark - 邮箱注册
- (void)registerForEmailWithEmail:(NSString *)email Password:(NSString *)passwordStr Success:(PresenterCommonSuccess)successBlock Failure:(PresenterCommonFail)failureBlock;

#pragma mark - 通过邮箱重置密码
- (void)userResetPasswordForEmail:(NSString *)email Password:(NSString *)password Success:(PresenterCommonSuccess)successBlock Failure:(PresenterCommonFail)failureBlock;

#pragma mark - 邮箱绑定
- (void)bindEmailWithEmail:(NSString *)email Success:(PresenterCommonSuccess)successBlock Failure:(PresenterCommonFail)failure;

#pragma  mark - 邮箱修改
- (void)changeEmailWithOldEmail:(NSString *)oldEmail NewEmail:(NSString *)newEmail Success:(PresenterCommonSuccess)successBlock Failure:(PresenterCommonFail)failure;

#pragma mark - 手机绑定
- (void)bindPhoneWithPhone:(NSString *)phone Valicode:(NSString *)valicode Success:(PresenterCommonSuccess)successBlock Failure:(PresenterCommonFail)failure;

#pragma mark - 注册时验证手机号是否已经注册过
- (void)checkThePhoneHaveBeenRegister:(NSString *)phoneNum  Success:(PresenterCommonSuccess)successBlock Failure:(PresenterCommonFail)failure;

#pragma mark - 添加团购菜品.单独的接口
- (void)addGroupOrderObjectWithName:(NSString *)objectName Price:(NSString *)objectPrice Success:(PresenterCommonSuccess)successBlock Failure:(PresenterCommonFail)failure;

#pragma mark - 注册
- (void)userRegisterCellPhone:(NSString *)phoneNum
                  andPassword:(NSString *)password
          andVerificationCode:(NSString *)verifiCode
                 andonSuccess:(PresenterCommonSuccess)success
                       onFail:(PresenterCommonFail)fail;

#pragma mark - 修改头像
- (void)userChangeHeadImageFilePath:(NSString *)filePath
                       andonSuccess:(PresenterCommonSuccess)success
                             onFail:(PresenterCommonFail)fail;

#pragma mark - 用户个人中心修改密码
- (void)userChangePassword:(NSString *)oldPassword
            andNewPassword:(NSString *)newPassword
              andonSuccess:(PresenterCommonSuccess)success
                    onFail:(PresenterCommonFail)fail;

#pragma mark - 修改用户手机号码
- (void)userChangeOldMoblieNum:(NSString *)oldMoblieNum
              andOldVerifiCode:(NSString *)oldVerifiCode
               andNewMoblieNum:(NSString *)newMoblieNum
              andNewVerifiCode:(NSString *)newVerifiCode
                  andonSuccess:(PresenterCommonSuccess)success
                        onFail:(PresenterCommonFail)fail;

#pragma mark - 初始化密码
- (void)userInitPasswordWithPassword:(NSString *)password
                        andonSuccess:(PresenterCommonSuccess)success
                              onFail:(PresenterCommonFail)fail;

#pragma mark - 通过手机号验证码找回密码
- (void)userResetPasswordWithMoblieNum:(NSString *)moblieNum
                         andVerifiCode:(NSString *)verifiCode
                           andPassword:(NSString *)password
                          andonSuccess:(PresenterCommonSuccess)success
                                onFail:(PresenterCommonFail)fail;

#pragma mark - 验证原手机号是否是当前登陆的手机号码
- (void)userValidateUserPhoneWithMoblieNum:(NSString *)moblieNum
                              andonSuccess:(PresenterCommonSuccess)success
                                    onFail:(PresenterCommonFail)fail;

#pragma mark - 获取商户信息详情
- (void)userGetMerchantInfoSuccess:(PresenterCommonSuccess)success
                            onFail:(PresenterCommonFail)fail;

#pragma mark - 获取团购商品列表
- (void)userGetGrouponListSuccess:(PresenterCommonSuccess)success
                           onFail:(PresenterCommonFail)fail;

#pragma mark - 个人中心修改商户资料接口
- (void)userModifyMerchantInfoDict:(NSMutableDictionary *)params
                         onSuccess:(PresenterCommonSuccess)success
                            onFail:(PresenterCommonFail)fail;

#pragma mark - 个人中心获取平台客服电话接口
- (void)userGetServiceTelSuccess:(PresenterCommonSuccess)success
                          onFail:(PresenterCommonFail)fail;

#pragma mark - 查询商户头图
- (void)userGetlistMerchantHeadPhotoonSuccess:(PresenterCommonSuccess)success
                                       onFail:(PresenterCommonFail)fail;



@end
